package com.mobile.challenge.service.impl;

import com.mobile.challenge.dao.PrizeMapper;
import com.mobile.challenge.model.Prize;
import com.mobile.challenge.service.PrizeService;
import com.mobile.challenge.core.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


/**
 * Created by CodeGenerator on 2018/06/06.
 */
@Service
@Transactional
public class PrizeServiceImpl extends AbstractService<Prize> implements PrizeService {
    @Resource
    private PrizeMapper tPrizeMapper;

    @Override
    public void recordPrizeTotal() {

        tPrizeMapper.updatePrizeTotal();
    }
}
